//
//  UIImageView+Download.h
//  BuDeJie
//
//  Created by sunny on 16/4/16.
//  Copyright © 2016年 sunny. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <UIImageView+WebCache.h>


@interface UIImageView (Download)
/* 
    * 根据网络状态下载图片
 OriginalImageURL：原始图片的URL字符串
 thumbnailImageUrl：缩略图的URL字符串
 placeholderImage：占位图片
 completedBlock :下载完图片之后做的事情

 */
- (void)gq_setImageWithOriginalImageURL:(NSString *)OriginalImageURL thumbnailImageUrl:(NSString *)thumbnailImageUrl placeholderImage:(UIImage *)placeholderImage completed:(SDWebImageCompletionBlock)completedBlock;

- (void)gq_setImageWithOriginalImageURL:(NSString *)OriginalImageURL thumbnailImageUrl:(NSString *)thumbnailImageUrl placeholderImage:(UIImage *)placeholderImage;

- (void)gq_setImageWithOriginalImageURL:(NSString *)OriginalImageURL thumbnailImageUrl:(NSString *)thumbnailImageUrl completed:(SDWebImageCompletionBlock)completedBlock;

- (void)gq_setImageWithOriginalImageURL:(NSString *)OriginalImageURL thumbnailImageUrl:(NSString *)thumbnailImageUrl;
@end
